package com.redv.bloggerapi.client;

import java.util.Date;
import java.util.Map;

public class Post {
	public Post(Map map) {
		p_postid = (String) map.get("postid");
		p_title = (String) map.get("title");
		p_date = (Date) map.get("dateCreated");
	}
	
	public String getTitle() {
		return p_title;
	}
	
	public String getPostID() {
		return p_postid;
	}
	
	public Date getDate() {
		return p_date;
	}
	
	String 	p_title;
	String 	p_postid;
	Date 	p_date;
}
